package P3_6;

public class DataSet {
//Instance variables (static)
	public int min = 127;
	public int max = -128;

//Constructor
	public DataSet(){
	}
	
//Methods
	public void addValue(int x){
	min = Math.min(min, x);
	max = Math.max(max, x);
	}
	public int getLargest(){
		return max;
	}
	public int getSmallest(){
		return min;
	}
	
	
}
